
const state = () => ({
	performType: [
		// {value:0,label:'全部', id: 'qb'},
		{value:1,label:'团购', id: 'tg'},
		{value:2,label:'售卡', id: 'sk'},
		{value:3,label:'服务', id: 'fw'},
		{value:4,label:'划卡', id: 'hk'},
		{value:5,label:'产品', id: 'cp'},
		{value:6,label:'提成', id: 'tc'}
	],
	listShop:[
		{id:'ls1', name:'明治分店1', leader:'负责人',number:7},
		{id:'ls2', name:'明治分店2', leader:'负责人',number:7},
		{id:'ls3', name:'明治分店3', leader:'负责人',number:7},
		{id:'ls4', name:'明治分店4', leader:'负责人',number:7},
		{id:'ls5', name:'明治分店4', leader:'负责人',number:7},
		{id:'ls6', name:'明治分店4', leader:'负责人',number:7},
		{id:'ls7', name:'明治分店4', leader:'负责人',number:7},
		{id:'ls8', name:'明治分店5', leader:'负责人',number:7}
	],
	listStaff:[
		{id:'stf1', name:'小明1', leader:'负责人',number:1,imgUrl:require('@/static/img/home/avatar.png')},
		{id:'stf2', name:'小明2', leader:'负责人',number:1,imgUrl:require('@/static/img/home/avatar.png')},
		{id:'stf3', name:'小明3', leader:'负责人',number:1,imgUrl:require('@/static/img/home/avatar.png')},
		{id:'stf4', name:'小明4', leader:'负责人',number:1,imgUrl:require('@/static/img/home/avatar.png')},
		{id:'stf5', name:'小明5', leader:'负责人',number:1,imgUrl:require('@/static/img/home/avatar.png')},
		{id:'stf6', name:'小明6', leader:'负责人',number:1,imgUrl:require('@/static/img/home/avatar.png')},
		{id:'stf7', name:'小明7', leader:'负责人',number:1,imgUrl:require('@/static/img/home/avatar.png')},
	],
	timeType: 'month',
	startTime: '',
	endTime: '',

})

const getters = {
}

const mutations = {
	updateTimeType (state, type) {
		state.timeType = type
	},
	updateStartTime (state, startTime) {
		state.startTime = startTime
	},
	updateEndTime (state, endTime) {
		state.endTime = endTime
	},
}

const actions = {
}

export default {
	namespaced: true,
	getters,
	state,
	mutations,
	actions
}
